/**index.wxss**/
.background {
    background-color: rgba(218, 206, 206, 0.253);
    padding-bottom: 90px;
}

.mySwiper {
    height: calc((100vw * 370) / 750);
    width: 100vw;
}

.swiper-item {
    height: calc((100vw * 370) / 750);
    width: 100vw;
}

.swiper-img {
    height: calc((100vw * 370) / 750);
    width: 100vw;
}

.nav {
    display: flex;
    height: 86px;
    align-items: center;
    background-color: #fff;

    .nav-item {
        color: #646566;
        font-size: 12px;
        line-height: 1.5;
        word-break: break-all;

        flex: 1;
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .item-img {
        width: 28px;
        height: 28px;
    }
}



.straightForList {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: #fff;

    .listItem {
        width: 48%;
        display: flex;

        &:nth-last-child(1) {
            margin-top: 5px;
        }

        &:nth-last-child(2) {
            margin-top: 5px;
        }

        position: relative;

        .title {
            position: absolute;
            left: 2%;
            top: 2%;
        }

        .price {
            left: 15%;
            top: 20%;
            font-size: 12px;
            position: absolute;
            color: #8b0000;
        }

        .listImg {
            width: 100%;
        }
    }
}



.newGoodsList {
    background-color: #fff;

    .newGoodsListContent {
        width: 100%;
    }

    .title {
        font-size: 14px;
    }

    .price {
        line-height: 26px;
        font-size: 12px;
        color: #8b0000;
    }

    .listImg {
        width: 100%;
    }
}

// 人气推荐
.recommendedListBg {
    background-color: #fff;

    .recommendedList {
        margin-bottom: 10px;
    }

    .recommendedTitle {
        max-height: 32px;
        font-weight: 500;
        line-height: 29px;
        font-size: 18px;
    }

    .recommendedPrice {
        line-height: 20px;
        color: #8d0000;
        font-weight: 400;
    }

    .recommendedDes {
        height: 40px;
        max-height: 100px;
        line-height: 40px;

    }
}

//专题精选轮播
.projectSwiper {
    background-color: #fff;
    height: 500rpx;




    .swiper-item {
        height: calc(200 * 100vw) / 300;

        .projectSwiperImg {
            width: 90vw;
        }

        .des {

            position: relative;
            width: 83%;
            font-weight: 200;
            line-height: 24px;
            font-size: 16px;

            .swiperPrice {
                position: absolute;
                right: 10px;
                color: #8b0000;
            }

            .detail {
                width: 100%;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
            }
        }
    }

}